package com.collectplus.express.model;

/**
 * 消息通知
 * 
 * @author coffee<br>
 *         2015-10-26下午2:29:06
 */
public class MsgNoticeBean {
	// TODO 后期需要优化、由服务器端返回字符串
	private String[] stateArr = new String[] { "未绑定", "已绑定", "未支付", "已支付", "已入库", "已出库",// 0-5
			"包裹已被快递公司接收", "包裹未被快递公司接收", "包裹揽收成功", "包裹揽收不成功", // 6-9
			"包裹送达不成功", "包裹送达成功", "包裹已退回", "包裹丢失", "包裹已完结", // 10-15
			"未投递", "已投递", "拒收", "揽件成功", "到柜已投递", // 16-20
			"到柜已取走", "拒收已投递", "拒收已取走" };// 21-23

	private String title; // app显示的标题栏
	private String receiverName;// 收件人
	private String content;
	private String showContent;// app显示的详情
	private String createTime;
	private String currentRouter;
	private String expressCompanyName;// 快递公司
	private String expressNumber;// 运单号
	private String parcelImgUrl; // 包裹图片
	private int id;
	private int ifRead; // 是否已读 0-未读 ,1-已读
	private int isOrNoEvaluate;
	private int parcelId;
	private int status;
	/**
	 * 1路由 2 邮票过期、优惠卷过期  3投诉 4 意见反馈 5 节假日 6 其他 7 快递员取消订单 8代收取件 9快递柜通知 10评价
	 * 11 包裹支付成功 12 包裹投递成功 13 包裹揽收成功 14 包裹签收 15 购买邮票成功 16 邮票过期提醒  17 实名认证
	 * 18 身份认证驳回
	 */
	private int type;


	private int userId;
	private String orderId;
	

	public int getStatus() {
		if (status >= stateArr.length) {
			status = stateArr.length - 1;
		}
		return status;
	}

	public String getStatusStr() {
		return stateArr[getStatus()];
	}

	// /
	public String getContent() {
		return content;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getShowContent() {
		return showContent;
	}

	public void setShowContent(String showContent) {
		this.showContent = showContent;
	}

	public String getReceiverName() {
		return receiverName;
	}

	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCurrentRouter() {
		return currentRouter;
	}

	public void setCurrentRouter(String currentRouter) {
		this.currentRouter = currentRouter;
	}

	public String getExpressCompanyName() {
		return expressCompanyName;
	}

	public void setExpressCompanyName(String expressCompanyName) {
		this.expressCompanyName = expressCompanyName;
	}

	public String getExpressNumber() {
		return expressNumber;
	}

	public void setExpressNumber(String expressNumber) {
		this.expressNumber = expressNumber;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getIfRead() {
		return ifRead;
	}

	public void setIfRead(int ifRead) {
		this.ifRead = ifRead;
	}

	public int getParcelId() {
		return parcelId;
	}

	public void setParcelId(int parcelId) {
		this.parcelId = parcelId;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getParcelImgUrl() {
		return parcelImgUrl;
	}

	public void setParcelImgUrl(String parcelImgUrl) {
		this.parcelImgUrl = parcelImgUrl;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public int getIsOrNoEvaluate() {
		return isOrNoEvaluate;
	}

	public void setIsOrNoEvaluate(int isOrNoEvaluate) {
		this.isOrNoEvaluate = isOrNoEvaluate;
	}
}
